package io.renren.modules.noc.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
* 订单支付
*
* @author zgw, 995115107@qq.cm
* @since 3.0 2022-04-23
*/
@Data
@ApiModel(value = "订单支付")
public class TOrderPayDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Long id;
    @ApiModelProperty(value = "支付编号，大写字母Z+时间戳+两位随机数")
    private String payCode;
    @ApiModelProperty(value = "订单id")
    private Long orderId;
    @ApiModelProperty(value = "订单编号")
    private String orderCode;
    @ApiModelProperty(value = "会员id")
    private Long accountId;
    @ApiModelProperty(value = "付款金额")
    private BigDecimal payAmount;
    @ApiModelProperty(value = "付款时间")
    private Date payTime;
    @ApiModelProperty(value = "付款方法：offline线下，wxpay微信支付，alipay支付宝支付")
    private String payMethod;
    @ApiModelProperty(value = "第三方支付订单号")
    private String thirdNo;
    @ApiModelProperty(value = "-1支付失败，0支付中，1支付成功")
    private Integer payStatus;
    @ApiModelProperty(value = "0全款，1第一期，2第二期")
    private Integer payType;
    @ApiModelProperty(value = "付款成功时间")
    private Date successTime;
    @ApiModelProperty(value = "失败原因")
    private String failReason;

}